/********************************************************************************
Name:  AccountToPIMSIdMap
Copyright © 2012  HFH International
======================================================
======================================================
Purpose:
-------
To map one-to-one relationship between Account and PIMS_Id
======================================================
======================================================
History 
-------
VERSION  AUTHOR                DATE        DETAIL              
  1.0  - CG DEV TEAM    7/10/2012   INITIAL DEVELOPMENT  
*********************************************************************************/ 
trigger AccountToPIMSIdMap on Account (after insert,before insert) {
    
AccountClassificationTriggerHandler handler=new AccountClassificationTriggerHandler();

  if(Trigger.isBefore && Trigger.isInsert){
    handler.OnBeforeAccountPimsId(Trigger.new);
     }
 if(trigger.isafter && Trigger.isInsert){
       handler.OnAfterAccountPimsId(Trigger.new);
       
  } 
}